home *** CD-ROM | disk | FTP | other *** search
- _root.effectSoundFunc("doorOpen");
- var temp = _root.game.currentGate;
- var gateNum = temp;
- if(temp < 10)
- {
- temp += 1;
- temp = "gate" + temp;
- _root.gotoAndStop(temp);
- _root.attachMovie("final_mc","final_mc",50000);
- _root.final_mc.gotoAndStop("success");
- switch(gateNum)
- {
- case 1:
- _root.final_mc.gate_mc.gotoAndStop(1);
- break;
- case 2:
- _root.final_mc.gate_mc.gotoAndStop(1);
- break;
- case 3:
- _root.final_mc.gate_mc.gotoAndStop(2);
- break;
- case 4:
- _root.final_mc.gate_mc.gotoAndStop(2);
- break;
- case 5:
- _root.final_mc.gate_mc.gotoAndStop(3);
- break;
- case 6:
- _root.final_mc.gate_mc.gotoAndStop(3);
- break;
- case 7:
- _root.final_mc.gate_mc.gotoAndStop(4);
- break;
- case 8:
- _root.final_mc.gate_mc.gotoAndStop(4);
- break;
- case 9:
- _root.final_mc.gate_mc.gotoAndStop(5);
- break;
- case 10:
- _root.final_mc.gate_mc.gotoAndStop(5);
- }
- _root.final_mc._x = 280;
- _root.final_mc._y = 200;
- _root.score = _root.below_mask.scoreShow;
- _root.clearScreen();
- }
- else
- {
- _root.gotoAndPlay("pass");
- _root.score = _root.below_mask.scoreShow;
- _root.clearScreen();
- }
-